home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 2.toast / pc / sample code / quicktime / goodies / qtfullscreen / qtfullscreen.h < prev    next >
Encoding:
Text File  |  2000-06-23  |  957 b   |  45 lines

  1. //////////
  2. //
  3. //    File:        QTFullScreen.h
  4. //
  5. //    Contains:    Functions to display full-screen QuickTime movies.
  6. //
  7. //    Written by:    Tim Monroe
  8. //
  9. //    Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  10. //
  11. //    Change History (most recent first):
  12. //
  13. //       <1>         12/22/97    rtm        first file
  14. //       
  15. //////////
  16.  
  17. //////////
  18. // header files
  19. //////////
  20.  
  21. #ifndef __MOVIES__
  22. #include <Movies.h>
  23. #endif
  24.  
  25. #ifndef __QTML__
  26. #include <QTML.h>
  27. #endif
  28.  
  29.  
  30. //////////
  31. // function prototypes
  32. //////////
  33.  
  34. OSErr                        QTFullScreen_PlayOnFullScreen (void);
  35. OSErr                        QTFullScreen_RestoreScreen (void);
  36. OSErr                        QTFullScreen_EventLoopAction (EventRecord *theEvent);
  37.  
  38. #if TARGET_OS_WIN32
  39. LRESULT CALLBACK            QTFullScreen_HandleMessages (HWND theWnd, UINT theMessage, UINT wParam, LONG lParam);
  40. #endif
  41.  
  42. PASCAL_RTN void                QTFullScreen_MoviePrePrerollCompleteProc (Movie theMovie, OSErr thePrerollErr, void *theRefcon);
  43. OSErr                        QTFullScreen_PlayMovieOnFullScreen (Movie theMovie);
  44.  
  45.